package com.example.demo;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.CrossOrigin;

@EnableFeignClients
@EnableDistributedTransaction
@EnableHystrix
@SpringCloudApplication
@CrossOrigin
public class MybatisDemo1Application {

    public static void main(String[] args) {
        SpringApplication.run(MybatisDemo1Application.class, args);
    }
}
